using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;using THSERP.BusinessEntities;using THSERP.BaseProvider;

namespace THSERP.Modules.Promotion.UI
{
	/// <summary>
	/// Summary description for DMPR100
	/// </summary>
	public partial class DMPR100 : THSERPScreen
	{

		public DMPR100()
		{
			//
			// Required designer variable
			//
			InitializeComponent();
		}

        private void fld_btnButton2_Click(object sender, EventArgs e)
        {
            ((Modules.Promotion.PromotionModule)this.Module).ShowCategoryTree();
        }

        private void fld_btnButton3_Click(object sender, EventArgs e)
        {
            ((Modules.Promotion.PromotionModule)this.Module).SearchProduct(sender, e);
        }

        private void fld_btnButton6_Click(object sender, EventArgs e)
        {
            ((Modules.Promotion.PromotionModule)this.Module).ResetSearchProduct();
        }

        private void fld_btnButton4_Click(object sender, EventArgs e)
        {
            ((Modules.Promotion.PromotionModule)this.Module).AddProductToPromotionItemList(sender, e);
        }

        private void fld_btnButton5_Click(object sender, EventArgs e)
        {
            ((Modules.Promotion.PromotionModule)this.Module).DeleteProductFromPromotionItemList(sender, e);
        }

        private void fld_lkeICPromotionTypeCombo_Validated(object sender, EventArgs e)
        {
            ((Modules.Promotion.PromotionModule)this.Module).PromotionType_Validated(sender, e);
        }

        private void fld_chkeSelectAll_CheckedChanged(object sender, EventArgs e)
        {
            ((Modules.Promotion.PromotionModule)this.Module).SelectAll_Click(sender, e);
        }
	}
}
